These constants are used to determine how the ODBC Driver Manager prompts the user when a connection is established using the OpenConnection or EstablishConnection methods, or when using the RemoteData Control.
Constant | Value | Description |
rdDriverPrompt | 0 | The driver manager displays the ODBC (Open Database Connectivity) Data Sources dialog box. The connection string used to establish the connection is constructed from the data source name (DSN) selected and completed by the user via the dialog boxes. Or, if no DSN is chosen and the DataSourceName property is empty, the default DSN is used. |
rdDriverNoPrompt | 1 | The driver manager uses the connection string provided in connect. If sufficient information is not provided, the OpenConnection method returns a trappable error. |
rdDriverComplete | 2 | If the connection string provided includes the DSN keyword, the driver manager uses the string as provided in connect, otherwise it behaves as it does when rdDriverPrompt is specified. |
rdDriverCompleteRequired | 3 | (Default) Behaves like rdDriverComplete except the driver disables the controls for any information not required to complete the connection. |